package com.tekj.cxqcb.operation.resultBean;

import java.util.List;

public class SelectByLevelBean {

    /**
     * code : 0000000
     * msg : 执行成功
     * data : {"total":1,"data":{"limit":null,"offset":null,"queryBeginDate":null,"queryEndDate":null,"orderBy":null,"sortingRules":null,"queryKey":null,"notFieldParams":"serialVersionUID,notFieldParams","id":null,"createTime":null,"updateTime":null,"isDeleted":null,"typeName":null,"isDefault":null,"level":"1","parentId":null,"toStringParam":", limit=null, offset=null, queryBeginDate='null', queryEndDate='null', orderBy='null', sortingRules='null', queryKey='null'"},"list":[{"limit":null,"offset":null,"queryBeginDate":null,"queryEndDate":null,"orderBy":null,"sortingRules":null,"queryKey":null,"notFieldParams":"serialVersionUID,notFieldParams","id":"000000000000000000","createTime":"2019-05-06 04:56:11","updateTime":"2019-05-06 04:56:11","isDeleted":"0","typeName":"其他","isDefault":"1","level":"1","parentId":"","toStringParam":", limit=null, offset=null, queryBeginDate='null', queryEndDate='null', orderBy='null', sortingRules='null', queryKey='null'"}]}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * total : 1
         * data : {"limit":null,"offset":null,"queryBeginDate":null,"queryEndDate":null,"orderBy":null,"sortingRules":null,"queryKey":null,"notFieldParams":"serialVersionUID,notFieldParams","id":null,"createTime":null,"updateTime":null,"isDeleted":null,"typeName":null,"isDefault":null,"level":"1","parentId":null,"toStringParam":", limit=null, offset=null, queryBeginDate='null', queryEndDate='null', orderBy='null', sortingRules='null', queryKey='null'"}
         * list : [{"limit":null,"offset":null,"queryBeginDate":null,"queryEndDate":null,"orderBy":null,"sortingRules":null,"queryKey":null,"notFieldParams":"serialVersionUID,notFieldParams","id":"000000000000000000","createTime":"2019-05-06 04:56:11","updateTime":"2019-05-06 04:56:11","isDeleted":"0","typeName":"其他","isDefault":"1","level":"1","parentId":"","toStringParam":", limit=null, offset=null, queryBeginDate='null', queryEndDate='null', orderBy='null', sortingRules='null', queryKey='null'"}]
         */

        private int total;
        private List<ListBean> list;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }


        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }


        public static class ListBean {
            /**
             * id : 000000000000000000
             * typeName : 其他
             * level : 1
             * parentId :
             */

            private String id;
            private String typeName;
            private int level;
            private String parentId;
            private boolean isSelection;

            public boolean isSelection() {
                return isSelection;
            }

            public void setSelection(boolean selection) {
                isSelection = selection;
            }


            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }


            public String getTypeName() {
                return typeName;
            }

            public void setTypeName(String typeName) {
                this.typeName = typeName;
            }


            public int getLevel() {
                return level;
            }

            public void setLevel(int level) {
                this.level = level;
            }

            public String getParentId() {
                return parentId;
            }

            public void setParentId(String parentId) {
                this.parentId = parentId;
            }

        }
    }
}
